﻿namespace Radovici.Ctrls
{
    public class FlashPlayer : VideoBlock
    {
        public FlashPlayer()
        {
            Overflow = false;
        }

        protected override string VideoHtml
        {
            get { return HtmlHelper.GetFlashVideoHtml("file=" + VideoUrl + "&autostart=true", VideoId); }
        }

        public bool IsPlaying { get; set; }
    }
}